package cn.justforchris.system.service;

import cn.justforchris.system.domain.Employee;
import cn.justforchris.system.query.EmployeeQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IEmployeeService {
    void insertEmployee(Employee employee);

    void updateEmployee(Employee employee);

    void deleteEmployee(Long id);

    void patchDelete(Long[] ids);

    Employee getEmployeeById(Long id);

    List<Employee> getAll();

    PageInfo<Employee> queryPage(EmployeeQuery queryPage);


    void change(Employee employee);

}
